<!--
 * @Author: sl
 * @Date: 2021-12-21 18:52:18
 * @LastEditTime: 2021-12-23 20:39:54
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /etrip-ui/src/pages/toast/demo.vue
-->
<script setup>
import Toast from '../../../packages/toast/index.js'

const toast = () => {
  Toast('身份证格式有误')
}
</script>

<template>
  <div>
    <button @click="toast">点击</button>
  </div>
</template>

<style>
</style>
